import mitt, { Emitter } from 'mitt';

type Events = {
  refreshBreadcrumb: string;
  logout: undefined;
};

const emitter: Emitter<Events> = mitt<Events>();
export default emitter